package com.mtsmda.jpa.domain.singleTable;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorValue(value = "NTS")
public class NonTeachingStaff extends Staff {

	private static final long serialVersionUID = 1L;

	private String areaExpertise;

	public NonTeachingStaff() {
		super();
	}

	public NonTeachingStaff(String sName, String areaExpertise) {
		super(sName);
		setAreaExpertise(areaExpertise);
	}

	public String getAreaExpertise() {
		return areaExpertise;
	}

	public void setAreaExpertise(String areaExpertise) {
		this.areaExpertise = areaExpertise;
	}

}